#ifndef __LIB_AGORA_CLIENT_USER_H__
#define __LIB_AGORA_CLIENT_USER_H__

#include "IUser.h"

namespace AgoraClient
{

class	User : public IUser
{
public:
	User(const unsigned id, const std::string& login, const unsigned idCurrentChannel);
	~User(void);

	const unsigned int	GetId() const;
	const std::string&	GetLogin() const;
	void				SetLogin(const std::string& login);
	unsigned int		GetCurrentChannelId() const;
	void				SetCurrentChannelId(unsigned int id);
	bool				IsConnected() const;
	void				SetConnected(const bool value);
private:
	unsigned int	_id;
	std::string		_login;
	unsigned int	_idCurrentChannel;
	bool			_connected;
};

}

#endif